package cn.kgc.yigou.service;

import cn.kgc.yigou.pojo.Shop;
import cn.kgc.yigou.pojo.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ShopService {
    int save (Shop shop);
    PageInfo<Shop> queryForKeywordWithPage(Integer pageNum, Integer pageSize, String keyword);

    //根据id查询
    public List<Shop> getShopListByIdList(List<Integer> shopIdList);
    Shop selectAllById(int id);
    //删除
    public void batchRemove(List<Integer> shopIdList);
    //修改
    public void updateShop(Shop shop);
}
